<template>
	<div class="yp_myOrderform">
		<div class="yp_myOrderform_top">
			<h3>我的积分<span><router-link to="/addAddress">添加新地址</router-link></span></h3>
		</div>
		<!--<router-view></router-view>-->
		<div class="yp_myaddress">
			<span>暂无收货地址,请点击</span>
			<button><router-link to="/addAddress">添加新地址</router-link></button>
		</div>
		</div>
</template>

<script>
	import AddAddress from '@/components/addAddress'
	export default {
		name: "addressAdmin",
		components:{
           AddAddress
	  }
	}
</script>

<style scoped>
	a{
		color: white;
	}
		.yp_myOrderform{
		width: 1085px;
		height: 609px;
		float: right;
		border: 1px solid gainsboro;
	}
	.yp_myOrderform_top{
		height: 61px;
		line-height: 61px;
		border-bottom: 1px solid gainsboro;
		padding-left: 20px;
	}
	.yp_myOrderform_top h3 span{
		float: right;
		height: 30px;
		font-size: 16px;
		line-height: 30px;
		margin-right: 20px;
		margin-top: 10px;
		padding: 0 10px;
		background-color: #498E3D;
		border-radius: 5px;
	}
	.yp_myaddress{
		text-align: center;
		margin-top: 200px;
		font-size: 20px;
	 }
	 .yp_myaddress button{
	 	width: 140px;
	 	height: 45px;
	 	font-size: 16px;
	 	background-color: #4B943D;
	 	border-radius: 6px;
	 	outline:none;
	 }
</style>